package com.zl.model;

public class User {
	private int id;//用户id
	private String userName;//用户名
	private String password;//用户密码
	private boolean isAdmin;//是否管理员
	
	public User() {
		super();
	}
	
	public User(String userName, String password) {
		super();
		this.password = password;
		this.userName = userName;
	}
	
	//setter & getter
	public int getId() {
		return id;
	}
	
	public void setId(int id) {
		this.id = id;
	}
	
	public String getUserName() {
		return userName;
	}
	
	public void setUserName(String userName) {
		this.userName = userName;
	}
	
	public String getPassword() {
		return password;
	}
	
	public void setPassword(String password) {
		this.password = password;
	}
	
	public boolean getIsAdmin() {
		return isAdmin;
	}
	
	public void setIsAdmin(Boolean isAdmin) {
		this.isAdmin = isAdmin;
	}
	
}
